Complete functionality to create centerline axis. Problems saving document