LeastSquares.
rho
The least squares estimator rho function
z : ndarray
1d array
rho : ndarray
rho(z) = (1/2.)*z**2