2-Factor Models In Credit And Energy Markets