Reduced image load time and memory usage
Reduced image load time and memory usage

dataset_images was previously dynamically allocating memory for
reach read image. Preallocating this memory then reading each
image drastically reduces loadtime.

Closing each figure after saving residuals, etc. silences a
matplotlib warning and slightly reduces memory usage.

wkiri/DEMUD