Transistor base resistor calculations