Major change in BIP script.  Now takes into account ERTA and CTA
Added some inflation parameters and more changes to the bip function