modified cvxpy to be consistent with new ECOS interface