quadratic and cubic features for dep parser
fix a memory leak bug