Update zeta implementation to use much faster algorithm. Change zeta test to use external template instances.