PY: Updated main python to not use negative indexes. Should make Cython/Numba faster.

Still need to update functions to do the same
PY: Now all functions avoid negative indexing