Analysis of a permanent magnet dot matrix printer head