fixed a sign error in SkaterState.getTotalEnergy that was causing subdivision problems