Altered calculator to work with Rails 4