FRM: Basel internal ratings-based (IRB) risk weight function