combine_chains function

Combine Chains Function to combine the posterior samples from the multiple chains.