Corrected some spelling errors in comments.
More comments.
Added da_copy function.
Clarified some code blocks.