Update r2z.m