Switch from 0 based to 1 based indices in R
Update (X'X)^{-1} if making a swap.

Closes #7
Merge pull request #6 from mdlerch/update_xpxinv

Need to update (X'X)^{-1}