fix math linking issue
rewrite filter calculations using plane conversion

this changes everything