"Functions for MATRIX — END MATRIX" collection at Kirill's SPSS macros page has been updated.
Check it out