Covariance, sum and get features + bugfixes +UT