The dataset of which the means have to be computed.
RETURNS
The function returns NULL if an error occured, otherwise it returns the
means in DATASET format.
FUNCTION
The function computes the mean of each class present in the dataset dataset.
These means are stored in the a DATASET structure and returned by
the function. This means that each sample in the dataset structure returned
by the function represents a mean.