Added t_tune.c and t_tune.h