Changed mat3 to be discreet fields rather than 3 arrays