Application Of Control Barrier Functions To Collision Free Model Predictive Control