fixed error when plotting the estimated densites: now den, = target(yplt1.phix)