Python Array Get Function Matlab Syntax Cheat