Source: https://www3.nd.edu/~dgalvin1/30210/30210_F07/presentations/simplex_full.pdf