Regulator used to smooth the running of a reciprocating engine