add nd_type slot to shc-class
major revision/cleaning of shc-plot.R