Create randp.m