optimzation in eeGD...all tests pass
lot of optimazations in GD calculations
small modifications