fixed feature masking to match new scheme (0b11 == '0')
extended ipa_to_features to support arbitrary length symbols
docstrings