Make `nonedge` default to 0.0. Add more comments.
Clarify description of `weight` parameter.