Adds a matmul performance test.

Gets the ball rolling on a BLAS performance testing suite.
Merge pull request #3722 from blakejohnson/matmul-perf

Adds a matmul performance test.