Update comments.
Refine memory management.
Update version number.
Refine input validation.