back to last commit version, add normalization const for both linear term and quadratic term