The Measurement of Elastic Constants for the Determination of Stresses by X-Rays