Add SIN function and data generator