Estimate magnitude of completeness#

Estimate the completeness with different methods, and how to apply the KS test if a set of magnitudes is exponentially distributed.