reverted to 1D PointCloud array

to make it easy to guarantee contiguous memory