Different Color Averaging algorithms

Based on this blog post: http://asserttrue.blogspot.com/2008/10/fast-pixel-averaging.html