Optimizations; fix off-by-one in track counting.
Merge pull request #6 from jadrian/patch-2

Optimizations; fix off-by-one in track counting.
Merge remote branch 'origin/master' into develop