Analytic marginalization of $N(z)$ uncertainties in tomographic galaxy surveys — arXiv2