added in/out variable declarations to setg
added cython+fortran files