Added function to generate GDV signal