Credit risk modeling library