Itoa template and matrix module stub