Refactoring class level method into object-oriented approach
Fixing bug in calculation, providing example test

Test can be run with: rake minitest:models
Merge pull request #16 from Codaccino-Dev-Team/helper_refactor

Helper refactor