Implemented mapSum and mapMax in the same spirit as in hg's NGP, except that *Ops.mapSum are implemented by hand not by Range.foreach. Added correctness and performance tests for those.