xyzmat.coords function

Extract (x, y, z) coordinates, where z is a matrix