Matthew's class direction can't be changed after answering the goddess' questions at the start of the game. Whichever class direction you select, there are countless lineup possibilities in the game, and you'll always be able to find a way to make the best use of Matthew's class when he's on the battlefield!