new Segment type for vector, new elements

head, tail, segment
more flexibility in choosing vector elements
assign vector elements from Equation
added vector elector in multiple places
new Submatrix type
relocated only
relocated only
new VectorSegmentType