Add a method to truncate signal (windowing)