Nowhere in the code the mass density (g cm-3) is used 'as is'. A more natural unit is the number density.
This will simplify the code, and make it more standard with the units used in the literature (e.g., the units in the opacity file will be cm2/mol instead of cm2/g).