MatLab function now checks the number of frames in file
Changed from BGRA output to BGR output.

Was writing out the RGB stream in BGRA format while the alpha channel was
always zero. This was a waste of space, to the alpha channel is now
ignored, leaving BGR.
Closes #18, Closes #19, Closes #13