Use consistent argument order for scale/2
Make sure variance is never below zero
Merge pull request #3 from chrisavl/master

Fix argument order in scale/2 and floating point precision issues with variance/1