Minor changes to variable names
Changed predFunc and changed all others to use Rows instead of HPF_ID for faster referencing