Had to set the power operation back to the slow version because the fast version didn't support negative values.

Also, Surface gravity wave model now works.