numFeatures bug fixed, fixes #91