Finds the swaps available given a current position.
swaps(cur, n, quad = FALSE)
A vector of length greater than 2 of what current explantory varialbes are being used in the model.
The number of explanatory variables in available to swap.
Whether to include quadratic terms. ie (x1*x1) as potential swaps.
a matrix with the possible forms by column.