Added util.math.map
Simplified color pulsing