Check if all vectors are in the 2D grid