Adding the (surprisingly-missing) ability to easily update the diagonal of [MC,MR] matrices.