- Improved for frequencies.
- Improved initilization.
- Improved initialization.
- Improved helper functions.