OPT: added check for method and shape type
REF: changed numbering (only for display)
REF: removed flirt dependency
REF: modified flag: z and m
REF: modified flag: g. Removed spline fitting (because not adapted to new z-regularization)
REF: major flag modifications
BUG: fixed bug in usage
REF: cleaning