Addition of method IsClose to compare two vectors.