l2_reg function

Perform l2 regularisation artefact suppression.