DONE.TESTS ADDED.SORTINGS CHANGED.MATRIX BUGS DELETED