Removing unnecessary nested loop structure and unused variables from paletteMap.
Merge pull request #178 from bendmorris/palettemap

Simplifying and speeding up BitmapData.paletteMap