added qpp::dirsum() and qpp::dirsumpow()

direct sum functions, updated documentation