Merged the changes from MG latex file