fixing bug in Gi
Merge branch 'convex' of github.com:pylayers/pylayers into convex