added disclaimer for ksdensity and changed return type to dict