Create delay.m