Added space-scaling property to distinguish MS, TS and print. Fixed bug in Matrix.