Finalized chapters 3,4,5 of documentation.