Lu solver + tests

I also modified the AltLU implementation and added mote tests to it.