update map/reduce to get doc freq and inverse doc freq
first deploy version of helper funcs
cleaner versions of main funcs
updated readme