Comments added. Documentation updated.