readflirJPG function

Reads an image from a FLIR JPG file into an integer array.