Change LU and Cholesky kernel

In the last phase, try using shared memory.