monoreg function

Monotone Regression: Isotonic Regression and Antitonic Regression