Fix duplicated comment
Add delta function
Add fortran support for delta functions