Implemented getFeatures method for avg word length and avg sentence length features.