def matlib_convert(path):
    """
    Convert tuples of x-, y-, z-coordinates to x-, y-, z-coordinate lists for visualisation via matplotlib
    
    Input:
    path; list containing tuples of x-, y-, z-coordinates.

    Return:
    Tuple of x-, y-, z-coordinate lists.
    """

    x_list = []
    y_list = []
    z_list = []

    for coordinate in path:
        x_list.append(coordinate[0])
        y_list.append(coordinate[1])
        z_list.append(coordinate[2])
    return (x_list, y_list, z_list)