If all elements of a vector/matrix are of the same dimension, then Prime uses to place the unit (for all elements) after the matrix and you are also allowed to change this unit to something you like more.
If the matrix contains quantities of different dimensions, Prime places the units right to the values inside the matrix and unfortunately does not allow to change this unit directly. You can write a different unit after the matrix and Prime will change the units inside the matrix accordingly - sometimes with unexpected effects.
In case of nested matrices Prime seems to show units only if all the dimensions in a 'subvector' are the same. Manually editing the unit at the end of the matrix without expanding nested matrices has a strange effect which maybe also could be called a bug...?
