Added 3x3 matrix, renamed and moved a lot of classes.