Modified cone adaptation process

This is actually simplified and adopted from coneAdaptation script.
However, I think we shall change more to make it follow the Dawis idea
(adaptation in cones)