Matrix generator and timer and printing