A Cumulative Residual Entropy Characterization of the Rayleigh Distribution and Related Goodness-of-Fit Test