renamed parameters of constructor keypad::matrix