Fix to quality layer decoding - variables moved directly into IIPImage class