need abs(n_b) or else throws error at negative n_b

wants to test unrealistic values of n_b and causes error