Move data_mean into data_transformer

Move data_mean into the data_transform class to facilitate data transformation. 
This way Data layers don't need to hold it and pass it all the time. 

The above dimensions are those of the input datum. The were validated during the setup of the base data layer. If they are deleted, the data transformer should validate them instead.