LU reduction is almost working