Fix index bug
pre-evaluate chromosome as a function to improve performance
Pre-evaluate matches/non-matches to improve performance