Return min and max from read_ir now. Also, made drawing functions take IR values. Example scripts have been updated to work with the new module code.