Added kde method to Data.