Computes the cumulative energy of the measurement data.
The computation is performed by first computing the energy, then cumulative summing of the energy elements.