Use simple multiplication instead exponentiation and pow

This change is to prevent the cythonized c++ code from calling pow: visual C gets confused because it doesn't know what version of pow to use, which breaks the build.