updated voxel code to now use a pointcloud rather than some forloop magic