Added field distribution library function

Divided make_plot function in tools.field into distribution calculator and
plotter.
Added asymptotic potential checking