sanity checks
make feature from file actually work

This line took me at least a day to debug:
++j in python just does nothing!
++j in C/C++ increments by one