#1014 class Signal pass by reference 

fixes #1014 class Signal pass by reference