fixed bug: curvature points not set to origin