add AVector subAt
generic reorder function
implement vector reordering
reorder on arbitrary dimension
Matrix reordering and tests
reordered matrix tests