Created an optimized example to multiply two matrices