Expanded Compound Interest Formula