Translate Montgomery <--> Edwards Curve form