Test the implementation is correct or not.

Tried many frame numbers. For each number, we compute the energy
and compare it with the implementation in master branch. Now we
confirm our implementation is correct.