Created a unit test for the distributions. Weibull fails. More tests to follow. Needs debugging.