Making Dihedral Angle and Distance Restraints