Cleaned up
Made modular

Cut un-needed code. Made simple
Cleaned.

Now uses new length function
Init Commit

Next function to Set freq and angular resolution
Cleaned
Cleaned. Renamed
Init Commit

Function to get freq and angle res