Update util.rb

not to require 'mathn'