First versions of slopeTo() and compareTo().