adds cylinder class and documentation to ray class