Fixed memory leak in ADMM
 and DiscretePredictionComp