code: public static boolean isInBounds( int x , int y , IntegralKernel kernel , int width , int height )
  	{
  		for(ImageRectangle r : kernel.blocks ) {
  			if( x+r.x0 < 0 || y+r.y0 < 0 )
  				return false;
  			if( x+r.x1 >= width || y+r.y1 >= height )
  				return false;
  		}
  
  		return true;
  	}
docs: Checks to see if the kernel is applied at this specific spot if all the pixels
  would be inside the image bounds or not
  
  @param x location where the kernel is applied. x-axis
  @param y location where the kernel is applied. y-axis
  @param kernel The kernel
  @param width Image's width
  @param height Image's height
  @return true if in bounds and false if out of bounds