C interface has access to random generation of polynomial system