add docs for scatter matrix and weighted covariance