Added reset parameter https://github.com/KanoComputing/peldins/issues/1345