Wiring keypad in cube instead of matrix

Are you sure about that?