Added direction calculations for force fields