confiningForce(): Compute the potential force and return a function handle that takes in particle positions and returns the potential force at those positions.
dV=confiningForce(V,problem_scales,options)
create_scaleInvar_confining_potential(): Compute the confining potential based on the distance transform of a binary mask.