changed tau_leap engine to C