fix small problems regarding complex vectors for pygimli