Correct model inav index passing (as tuples, not arrays)
Automatic style corrections courtesy of autopep8