Added max, min, and comparison functions to PointVector