ecp_mrl function

Mean residual life function