Generic function of calculating the first moment of components of the mixture
comp_mean(m)
m
a mixture of k components generated by normalmix() or unimix() or igmix()
it returns a vector of means.