LSfunctional function

Compute least squares criterion for two ordered isotonic regression functions