Restructured setCollisionRepresentation

other review and documentation fixes