downsample_pointcloud: Added options for accumulation method, normalization, and output dtype