How to make the following concave function to fit cvx?