Local polynomial integral evaluation calculation of elements of S_y and middle integral (evaluating integral at end points).
int_val(l, a, b, kernel_type)
Value of integral.
Degree of polynomial being integrated.
Lower limit of integration.
Upper limit of integration.
Type of kernel function. Choose from "uniform", "triangular", "epanechnikov".