mpec gradients are all working