add read geometry from nibabel, because nibabel version doesn't work with python 3