new do_task for only labeled data, added bend cost and weight_power args for registration cost
adding do_task_merge (latest version)