Added Nephe modifications
Modified FindWeakKeysByPGCD to let it handle an argument