Bugfix to r - now allows reversed ranges starting at 0.

e.g. r5Z = [4, 3, 2, 1, 0]