Scale needs to be applied before rotation if done in this way if done in this way..
	Safer fix for matrix_def not to reset previous things done to scale
Additional changes
Merge pull request #78 from ly29/master

Matrix def fix