Math support for Elliptic Curve.