Update variance.rb

Switch to sample rather than population variance