Added a linear version of the frequency weighted penalty.