renamed to elliptic.h, added cubic solving test