Inner And Outer Matrix Multiplication