Improved Commenting

Improved the commenting for the cost function in the regularisation
function.