Calculate fixed deposit maturity amount and interest with quarterly, monthly, half-yearly or yearly compounding.