Added Bifurcation Code

Extended tpulse and added bifurcation code