Upgrade gem dependencies
Change mean and variance to use a Rational not a Float

* This should reduce some rounding errors
Fix usage of be_within rspec matcher