Changed Standard Deviation Function to use variancee instead of Standard Deviation