Added sample and population variance and deviation functions