Further updates in function find_gcd