Fix dtype handling

Philipp Arras requested to merge fixesinvcov into NIFTy_7

Merge request reports