A thorough resource is the Knuth, Larrabee, and Roberts book on Mathematical Writing. A few brief pointers on common mistakes are given below.
For example, "The experiment required to implement" is
wrong, but "The experiment required the user to implement..."
is fine, as is "The experiment required the implementation
of..." Also, "The experiment involves to implement..." is
wrong, while "The experiment involves implementing..." is
correct.
In contrast, "I managed to implement..." is correct,
while "I managed implementing..." is not.
Some useful links: www.iei.uiuc.edu/structure/structure1/gerinfvbs.html and owl.english.purdue.edu/handouts/grammar/g_verbals.html (or google "gerunds and infinitives").