Create randw.m