change threshold to use types
Merge pull request #14 from JuliaDSP/gfa/sym

Change threshold to use types