
Generic function of computing the cdf for each component
comp_cdf(m, y, lower.tail = TRUE)
it returns a vector of probabilities, with length equals to number of components in m
a mixture (eg of type normalmix or unimix)
locations at which cdf to be computed
boolean indicating whether to report lower tail