Added Kronecker Delta and recognizer for repetitive functions