isClose(): check the shape as well; add isEqual() method