Update signaltools.py

supposed to be TeX math