A vectorized code for the Monte Carlo computation of spin-dependent static potentials in QCD