troubleshooting- appears that pdfn on grid is not being calculated correctly