The code was designed to work with 1 or more signals at once. However, it currently didn't work with only one signal. To fix it I removed the apparently unnecessary squeeze call. The code still passes the unit tests for two signals and works for one signal.