add isClose() functions for vectors/maps of scalar