Python Matrix Element Notation