Validate the utility functions against the dataset and generate the optimised logliklihood function
Useful links