Update compute.rb