added weighted kde