Modified dampen_points function in models