matrix behavior
making matrix work with units (so far the solution is quite hacky)