fix bugs in debugging

- FIX : fix a bug in setting trap density
- FIX : fix a bug in setting trap occupation in FDDomain