OutOfBounds & KNIPException added

KNIPException gets thrown if number of dims of the structuring elements
isn’t the same as the number of image dims.