corrected friction cone function