Add rigid and nonrigid registration methods to cli