-- started to solve QP without matlab