Added min subtraction for tuning in linear model