Testial double filter
Changing magnitude calculation from using sqrtf to direct_component/fast_cost(angle).