Enabled factor algorithms for IntSelector. Added makeValues and
makeFactors. Added test as well.