Fixed a bug in setRefSpeed behavior
Added setRefSpeed tutorial to the readme