Cliff's code for various shape constrained estimators