Add asserts for .chip
What does this implement/fix?
This adds static and dynamic asserts that the chipping dimension and offset are valid.
Additional information
I'm very open to comments about whether this is the best approach, and what tests (if any) should be added.
Edited by Tobias Wood