Tartarus: A relativistic Green’s function quantum average atom code