I came across this formula in a text that says $S$ is the sample covariance matrix where
$$S = \sum_{j=1}^n(\mathbf{X}_j - \bar{\mathbf{X}})(\mathbf{X}_j-\bar{\mathbf{X}})'$$.
What I am trying to figure out is whether that formula is the correct formula for a covariance matrix, or if it is, say, the sum of squares matrix around the sample mean (is that the same as the covariance matrix)?