Small changes to the time-dependent potential and removed an unnecessary
saving of the C-matrix.