Thanks so much for taking the time to download and let me know. It turned out to be a simple -1 missing in the code. Fairly harsh when you work hard on something!
I have fixed it, just for sharing myself. I know it's not part of the Jam which is a real bummer. It's also just a bit of a stupid little test but anyways if you're still interested!