Analytic description of magnetoresistive read heads