Advance the third algorithm
Calculate all the energy figures