Changed back to stack recognition via attributes. Refreshing dataset when retrieving shape and data in dataloader. First tests passed with running cheetah in swmr mode - both in 1D and 2D.