[WIP] New feature: python-version of fslswapdim

Implements #246
Could you please call the input argument 'niimg'.