Update regress.m