computeInitialPoints(): Generate a set of initial particle locations for modeling. confiningForce(): Compute the potential force and return a function handle that takes in particle positions and returns the potential force at those positions. create_scaleInvar_confining_potential(): Compute the confining potential based on the distance transform of a binary mask. setup_problem(): Generate the confining force, the initial particle locations, and the scaling factors for the simulation.