Adds an instance method to retrieve the inverse of the given curve.