added an average color method that returns the correct alpha value
Merge branch 'master' of github.com:ahfarmer/AFAdditions