Application of Control Barrier Functions to Collision Free Model Predictive Control