Fixed the memory leak
Merge branch 'master' into test_uncertainty_factor
Testing for uncertaintyFactor = 1.75