Added ElementDensity function

Bindings updated
Examples updated
src/Makefile prdata dependencies reduced: should result in slightly
faster compilation