got basics working - constraint matrix seems correct