make setElements(double[]) into varargs
more setElements refactoring
tidy indexing
docs
express joined vectors as sets of segments
refactor AVectorMatrix to have fixed size