Change plot in ch4 to empirical prob density func