Fix Geom.density

Whoever originally wrote this mostly knew what he was doing but he was typing too fast. Issue #141.