Added comments to functions in num.rs.

Copied existing comments from other files, and added comments for some
functions that did not have existing comments available.