added javadoc to class Line
updated javadoc in class CartesianVector