Create r2z.m