Wrote more documentation, cleaned up documentation.