The weighting among bonds, bond angles, planarity, and chirality reflects the special requirements when using interproton distance restraints. Special improper terms have been added to maintain the planarity of bases.