Optimal Solution to the Torsional Coefficient Fitting Problem in Force Field Parametrization