initial commit of weighted average tool