public void disableAllBut(JButton[] b){
		JButton allButton[] = {createMatrix, selectMatrix, deleteMatrix, helpButton, transposeButton, detButton, rowRedButton, inverseButton};
		for(int i = 0; i<allButton.length; i++){
			boolean disable = true;
			for(int j = 0; j<b.length; j++){
				if(b[j] == allButton[i])
					disable = false;
			}
			if(disable)
				allButton[i].setEnabled(false);
		}	
	}