abstract out path importance calculation

json replacement for feffNNNN.dat