fix segfault in wrong `pitchindwords' formula
Merge pull request #160 from cxd4/master

fix segfault in wrong `pitchindwords' formula