fixes to c code and python to get models to read machine time step and no_machine_time_steps correctly from python to c