Generalized data augmentation function so we can now also train CIFAR by shifting images but not changing their size and padding with zeros as necessary. Also fixed a minor bug in Window class, whoops