Moved the Jacobian indice calc out of the main eval loop.

This gained a 10X speedup on the evaluation of the Jacobian with respect to the
previous commit.