Added godoc documentation to all of the components of emd.