Fixed a mistaken energy value initialisation