implemented normal phase distribution