cleaned up project point cloud, replaced switch with for loop for rotation