Two methods for calculating the vortex-vortex force in a type 2 superconductor simulation