renamed to VectorElementsType for consistency

plus new VectorSegmentType
new/old VectorSegmentTypewitjh start index

and length
removed segment from vector cell

only scalars and variables allowed
vectorIndex as element not attribute
added length attribute to segment