A bug in LPSolver fixed.(now works for non-square matrices too)