Agnes Martin's retrospective shows a painter more sophisticated than her "seer of the desert" rep gives her credit for.