Implemented estimateCost() for the WordPenalty feature