Matrix operations, as fast as I can make em