Break out assignInBase() function
Fix path to eps2pgf