Calculate compound interest with principal, rate, time and compounding frequency using exact financial math