Bugfixing complete! Also, documentation.

* Fixed swaprow/col so they actually swapped their respective rows
instead of duplicating the first
* Fixed setcol so the sectors were given the correct values
* Added some documentation for old time's sake and habit.