Text this: Mean conservation for density estimation via diusion using the nite element method