added GetAdjustedPotVal
added Mac and Macvim files to gitignore