Added function to predict signals in each direction