function for estimation covariance, local covariance, corelationa and local corealtion estimation;