py/gf/local new assert in gf construct

- clean error message
- new assert to check dimension of the gf
when making the python from the c++.
arrays: clearer error when try vector *vector