Filtercalculations & signal generation