The indentation on your calculations is pretty confusing.  Looks like the two Math.pow() calls are at different levels.