added test for average function
Merge branch 'master' of github.com:jyujin/libefgy
Merge branch 'master' of github.com:jyujin/libefgy