Adds a matmul performance test.

Gets the ball rolling on a BLAS performance testing suite for #3566