removed apru since it didnt perform better computationally, also optimized other filtering functions
removed apru completely