Abstract some shared code away.

Significant helper code was shared between Fox and Huisman; I've
moved that into the utilities code.

Also abstracted the indices to the Huisman vector at the same time,
in preparation for working with more than two species.