Sun algorythm is stable, sun controls added