Matrix Dot Product Flowcharts Python