Fixed cdf and added pdf