[WIP] New feature: python-version of fslswapdim

Implements #246