modified gf constructor

Hi,
I've changed part of the gf constructors to make the creation of block GFs more expressive. The corresponding test has been adapted to work with the new constructors.