compareenergies function

Added compareenergies function.
Fixed activity

Fixed some mistakes in activity function
decay plotting functionality

Added plotting functionality to decay function.
decay plotting documentation.

Added documentation regarding the plotting functionality to decay
function.
decay printing functionality

Added printing functionality to deca function. The function can print
both plots and result text-files.