working single iteration calculating forces