Added some early LP solving code