Updated licenses to reflect my code vs. included GPL code. Added function for generating test data for statistics functions.