Reduction operation that returns the most common value. This operation reduces the dimensionality of the data: a matrix becomes a vector (mode of each column), and a vector becomes a scalar (mode of all elements). See the Julia documentation for details.