A simple mortgage_calculator with Rails