adding the computation of contribution/typicality for the hierarchy tree (parameters need to be accessible... later)