Added delta function from sgct