Gear Formulas:
http://www.engineersedge.com/gear_formula.htm
http://www.engineersedge.com/gears/gear_definitions.htm
http://www.cs.cmu.edu/~rapidproto/mechanisms/chpt7.html
http://www.gizmology.net/gears.htm
http://quickgear.bizland.com/id11.html