Update elliptic.rb

Fixed comparison.