Update gridding.f90

Removed unused module ifport, added comments to the kernel, added flag to quit compilation if unknown kernel weight is used