The final version (Displays all three matrices).