added a few more functions to utils
missed inlining some functions in util.h
commented and updated wavstream