cache variables, cleanup

buildable without slicer dir
add caching of phi
shorten a rediculously long variable name