creates tabulated potentials