rienIntegrator and sim can now accept dicts or array-like things as arguments