changes to multiout constructor
merged
added constructor for hierarchical kernel