Removed Matt's functions that were unused.
png and jpeg on in configuration of opencv build
Saving images to .png instead of .bmp