Added thresholds option to GLM1