Wolfram Mathematica and Python were used to perform the simulation.