Elliptic functions and maximal unitarity