replace find with some index magic

Hopefully this will be marginally faster
OOPS Correct to use phase speed in calculating wave length

Reference the correct variable
add binary outputs, increase freq resulution