Updated the GS algoritms. It seems to work with hardcoded values from
the friend-in file.