updated docstrings, added symmetrized flag for covariance_matrix, changed definition of symmetrized covariance matrix by a factor of two