Changed up the standard deviation method
Added a comment