The calculation is based on FVA Research Project 377.
Calculation of cylindrical gear and tool geometry. (Used for plot depiction.)