Updated easy_functional_density