def xyz_from_3d_array(array):
    """
    Takes a 3-dimensional numpy array and returns lists of x, y, and z
    coordinates.
    """
    x = array[:,0]
    y = array[:,1]
    z = array[:,2]

    return x,y,z