Fixed Python API for RPMDIntegrator::getTotalEnergy()