change MPRNG to mprng to follow Andrew's convention