fixed log liklihood (thanks aaron!)