Maximum Likelihood Estimation Python Code Tester