port to py3
Improved stride handling
Include ArrayRef.h since it's used