Remove unused m_rot member.
Correct -= operator.

The -= operator made an addition instead of a subtraction.
Add GEnergy unit tests.

Following the recent bug discovery in the operator-= I added a bunch of unit tests to make sure that the GEnergy class is indeed doing what it is expected to do.