Simplex solver in java