Add support for column major ordering when converting matrices to arrays

OpenGL requires column major matrices (by default?)
Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>