added local paths, made func tree metrics, cleaned figures.