ENH: Optimize registration parameters for ANTs template building.