Correct Equation For Total Energy