Now go from Matlab to C++ through a binary file.  Significantly faster to read/write and a lot smaller file.

Also corrected bugs with C++ implementation of texture <-> image changes