Fix "dead pixels" at the end of small minimaps
Fix "dead pixels" at the end of small minimaps

Updated the way that number of texels is calculated and
fixed a bug in average value (green) texture generation.

codilime/veles,codilime/veles,codilime/veles