Changed matrix input method to double-enter