finished agrad-rev paper through matrix arithmetic