Work in progress, implementing logpdfs for param est.