Remove extra sampling class and added more functions to ContinuousMI