fixed a bug when selecting curvature, the graph does not get update. The bug was caused in setCurvature in Points.java