Curve Normal Distribution R Code