moved indices out in feature function definitions
Merge branch 'master' of https://github.com/deba2000/CS250B