correct the bug that Normal distribution gives incorrect number

for the layer number is more than 1.