residuals in decay

The decay function now also gives residuals as output (in the stucture).