Fix non periodic error introduced in zooms
The tests were failing because non-periodic shifts had been disallowed but the tests were set up to include the need for a shift.
We should also not apply shifts that are so small as to not matter so that change has also been made.
Formatting has been applied.