Add new method md5 for use in jstat methods
Bugfix density, handle missing values