Matrix handedness, various cleanups