taking quadprog from http://www.labri.fr/perso/guenneba/code/QuadProg/eiquadprog.hpp and making it into small library so I can use it.