made bandpass() work for arbritray frequency limits