Matrix multiplication and other funcy stuff 2.33-2.37