Numpy Array Row Column Indexing Matlab Simulink