Updated some GPL headers. Fixed part of the multipolygon problem. Related to issue #9.