Fixed colors on axis

Colors on axis are now correct with positive direction being the
brighter color. Also updated for loops to use pre-increment as a mater
of best practice.