Contrast control feature is added.
Initial guess function is slightly modified