mape: Initialize random number generator (#1094)