refactored preprocess into their own files
factored out imagetensor, classtensor from datatensor
global constrast normalize unit tests and bug fixes
neural network tutorial (simplified script)