Simplified image import by changing to size parameter instead of number of individual rows/columns.
Changed readImage to read an image as one chunk of bytes instead of reading every pixel individually.
Added bang patterns in MNIST data type definitions for strictness.
Merge branch 'hotfix/mnistspaceleak' into develop