Efficient recursive estimation; application to estimating the parameters of a covariance function