Added method for computing dataset likelihood. Other cleanup.