Added create scale matrix functions.
Made keys global in wx if control or alt are held.