added a subset function (or two) to the PointCloud class