Added density plotting