Added correlation interface.
Added first tests of covariance functions.