Add Inndiag logic in kernel layer + add Inndiag implementation to A_n(q)
group + bugfix A_n(q) criterion