Covariance function - allow 2 arguments