Calculate gear dimensions, tooth surfaces for optimum contact