Updated code for matrix input

Made a textbox and button for Adj. Matrix input. However the button doesn't fire.