modes-func
This function returns an array of the most frequently occurring numbers
vector modes(vector vd)
vd
Returns the vector of the most frequently occurring numbers
col(B) = modes(col(A));