functions relating to 2d matrices used by motte-and-bailey.com
Ergonomic array slice for 2d array manipulation.