Dimensional Objects, sampling, splitting and collapsing

Not ready to be merged yet, but sampling and overlaying dimensions and views works already. The next step will be to implement collapsing. Currently two unit tests associated with testing for data_type failing.