Replacing Math.Pow(var, 2) by litteral multiplication.