The systems biology simulation core algorithm