Update edm-multi.cpp

Updated the arguments of the std::pow function. Some compilers do not try to coerce integer arguments to doubles so compilation errors were caused. This should now be fixed.