correction of TotalEnergyCalculator

TotalEnergyCalculator::operator() [WFormat]