commit is all trying to get the offset per frame of the grating stimulus to be a nice even number.