TINYGL: fixed an error in matrix transpose method and optimized the code a little bit more.