added cumulative distribution function, komologorov smirnov test, etc