PWM frequency library

If I understood you right, your library sets the timer in to a phase and frequency corret pwm instead of fast pwm?

Yes. Arduino libraries use fast PWM, this library sets timers to phase and frequency correct PWM.