Added documentation for vertex class