FINALLY figure out those fucking matrix transforms