Quadratic kernel added- faster