Added a prototype rotateCloud to be used by rotateLine in SegmentStitching