Add module to calculate steps in colour gradients