* Added javadoc, refactored vector creation