Fixed VC++ incompatibility

VC++ complained about the use of pow with an integer as first argument