Re-introduce the sin_time_function in kernel and GUI. (closes: #39). Co-authored-by: Yves Nedelec <yves.nedelec@cerema.fr>