Add a method slope_from_origin() which returns the slope of the line joining the origin to
the point.