Added calculate.rb