1-D convex regression v1.0 minor modifications