A few additions for convery and unit tests

* unit tests are sorted to make more sense.
* potential energy differences are printed.
* added a math module import.