Bug Fix: fixing an off by one error in RefineDirection.

Also tweaked the make files to move the -p flag to CINTFLAGS.
Corey