Fixed the problems in the P_likelihood function and added some documentation.  Added documentation to analyze_MCMC.