(bug-fix:minor) Error in the generation of sinusoidal signals