Changed the code to allow ADL to find the correct pow() function, not relying on an existing overload in the std namespace anymore.