More performance improvement using LU factorization