Code cleanup
Implemented solving of Max problem using GPU factorization