changed how normalisation of matrix regularisation works