Calculates the Annual Percentage Rate (APR) for a loan, considering the interest rate, fees, and loan term.