add consistency property to transformation matrix. add transformation
matrix tests