WIP: add restriction parameters for low-dimensional maps

Translation, rigid and affine optimizers are restricted via SetWeights and the --restrict-deformation input parameters.  Note: does not yet work with composite transformations.