indexing and corrcoef