A finite dimensional approach to Donaldson’s J‑flow