Add catmull-rom function

Add catmull-rom function and modify some method.