Linear systems in Jordan algebras and primal-dual interior-point algorithms