Analytic solutions of gelation theory for finite, closed systems