creating a controllable tens machine

In summary, the step-up convert is not what you want to control with the Arduino. You want your Arduino to take the place of the Switching Oscillator and the intermittent control of that circuit you linked to.