small fix in lin_fit

error with bracket fixed
error in doping calc fixed