averaging for all variables included. todo: division
averaging complete