Python Range Negative Step Function Matlab