Add Pham f(k) score function.