Added functions `G` and `DG` and made the code more usuable
Merge pull request #2 from abhikandoi2000/master

Added functions `G` and `DG` and made the code more usuable