Modified rank(), analytic_rank() elliptic curve methods to make use of zero sum code