A Mathematical Algorithm For Estimating The Rotational Diffusion Coefficients From X-Ray Photon Correlation Spectroscopy Data