adusted naming such that obbjects are roughly named in the same convention throughout the code
Broke testing into its own function.
Modified testing procedure - KS graph labels