line 912 and line 654: it's a multiple of the Frobenius norm, not 2-norm