Representation Of Spatial Transformations In Deep Neural Networks