added some path member variables and fixes to kmc density class