ref.add function

Adding a frame of reference in T.MAT