Update lib/slope_one.rb

Error on nil object