clean up printList in print.c, fixing bug of pairlist matrix names being ignored