Modeling of Bipolar Devices