Some minor changes

Added a utility function modified_Gpdiff

Corrected some minor typos