fixed how I test doubles in variance and standard deviation added mode and testing for mode