Update calculateImplicitDispNextTime.m