Moved doc strings. Added an exception. Refactored the if statement in getFeatures slightly. Fixed a bug in the sentence case.