updated timeEnvlope and spice simulator