Update random-common

Minor corrections of function names.