added visitor to transform and average set of hyperslices; data need to be float32 for this!