Changed Img array so that the pixel color is the first value, not the last in the array.