decay compare functionality

The decay function now has the functionality to compare the fitted decay
constant with the expected and include it in the saved file.
energy comparison refactoring

Moved the energy comparison responsibility to the peaklocate function.