fix bug in sonic time measuring
The method used to calculate t_samp did not correctly account for the box wrapping at T.
The Gitlab server is succesfully updated to version 16.11.1
The method used to calculate t_samp did not correctly account for the box wrapping at T.