Fix for issues/57

Fix for https://github.com/LarryBattle/Ratio.js/issues/57
Need to refactor code.