Incorporate feed back from simonster

All functions can take and ```Filter``` type.
Fixed indentation.
Use ```AbstractVector```.
Use list comprehension.
Don’t return frequency.
Run tests.