Playing with nuOptimizeLBFGS termination
Fixing bug in convexify

Adding test cases for ConvexFn
Adding tests for moreauEnvelope and moreauGrad