Added some additional tests for the conversion of decimals to rationals
Replaced magicalness with a standard ruby one. Also fixed the bug with rounding
Renamed function appropriately