Added normal distribution code