begin working on density mapping
density code needs debugging
updates