Fix DoRandom and MulP