Ostwald Ripening of Precipitates I. Numerical Solution for the Particle Size Distribution Function in Closed Systems