def setGauss(points):
    """ Create a system of equations for gaussian elimination from 
        a set of points. """
    n = len(points) - 1
    A = [[0 for i in range(n+2)] for j in range(n+1)]
    for i in range(n+1):
        x = points[i]["x"]
        for j in range(n+1):
            A[i][j] = x**j
        A[i][n+1] = points[i]["y"]
    return A