added better documentation for the anga package and removed some unnecessary functions