Stub unit test for energy calculation. Will have to figure out how to get a whole bunch of known values to test against.