Added test for bug with submatrix of submatrix, fixed bug with VecTools.join(...)