Analysis Of Orientational Restraints In Solid-State Nuclear Magnetic Resonance With Applications To Protein Structure Determination