Modification of the way in which magnetic tension forces and the tensile instability correction are calculated