Fix convert_density_units to use float
Add density units to batch form