Fix catcjing of exceptions.
Added NormalDistribution class.