Update pfGridding.R