G construct

after a wonderful day, G matrix construct become graceful