Fix error with Math.Pow