Steps count was off by one for weighted gradients.
Fix for generated colors of 0-9.