Merging my input to MH code

Changed MH ratio to be log-likelihood based and not likelihood based (i.e. sums of logs rather than products) and fixed bug in code for prior density in MH ratio.