removed overrideParams.global

global OP is again stored directly in params
created FIT_MODE functions to replace constants