adding cdff and tests
fixing running speed cdf plot
adding sample