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. 

These fields represent the dimensions of the transformed datum. They were refactored into the base data layer to be shared by all the types of data layers. The other data layers also need them.