Robert Granger and Michael Scott's implementation of scalar multiplication on E521