Adding method for computing partial moments of kernel function.
Modifying boundary correction implementation for 1 dimension