Add horrendous bit twiddling hack to remove mod1. This improves performance substantially (more than 2x on TSP), but it's a giant kludge because Julia's arrays are 1-indexed.