materiaDHAndDetSolver() ======================= This function optimizes the given gear set for DH and Det materias only.