Prototype of averaging over all data sets
Simplified merging of cells without need for id storage etc.
Fixed avaraging problem and initialized model