def bounding_box(points):
    """
    Computes a bounding box from a list of coordinates

    Parameters
    ----------
    points : list
        List of coordinates in the form of [[x,y], ...]

    Returns
    -------
    list
        A 4-tuple consisting of [xmin, ymin, xmax, ymax]
    """    
    x_coordinates, y_coordinates = zip(*points)
    return [min(x_coordinates), min(y_coordinates), max(x_coordinates), max(y_coordinates)]