Converted write_multi_header() to write_xy_header() and simplified the args by expecting [X, Y] pairs.
Authored by: bugman 2010-02-19
Parent: [r10765]
Child: [r10767]