Name function arguments in declaration consistently
Interpret N in the reference as a mismatched character

This fixes an over-counting bug that may become apparent when looking
for multiple seeds.