Removing 'time + dt' from saveOldData and calling it in mainChannelPBC.