Added quadratic support in HashedDocDotFeatures