The MATLAB protocol for making GARP lines