Working, but only if matrix is normalized