Printing matrix to corroborate distances