Add boundsclip method for finding MLA grid

boundsclip always returns coordinates within the image, but can
therefore have uneven subaperture sizes.