gurobi is working!

Initial version of gurobi is working:
 - fixed stupid bugs of me
- added link to threads to make gurobi link