fix progress format when ruby core lib mathn is loaded

Very small fix to make the progress format work also when 'mathn' is required somewhere else in your code. 

Not sure if it's ok to modify the spec_helper to require mathn. But needs to be loaded somewhere to show that the test suite is failing.