This might be too much work but I might be able to help eventually: https://github.com/ellisk42/ec from that paper