Added comments/summaries to edgedetect

See google doc file for more info