Same as above but with variable gain af, ar and final af, ar
function iCollectorNpn input Real vb; input Real vc; input Real ve; input Real af; input Real ar; input Real afConst; input Real arConst; output Real i; end iCollectorNpn;