Update ref3.m