Derived from the trade of carpentry, a millwright originally was a specialised carpenter who was trained as a carpenter and as well had working knowledge of gear ratios, driveshaft speeds, and other equations. The "mill" in millwright refers to the genesis of the trade in flour mills. Biographies of some millwrights who were located in Norwich, England can be found http://www.norfolkmills.co.uk/Millwrights/millwrights.html here.