generates and displays rational matrices now