Hmm... Now this is getting much closer. I really need to take some economics courses.
Could be another shot in the dark, but I took inspiration from the Future Value formula. It seems to be much better and performs well with tests (in Excel). I could be overlooking something again though. I am really sleepy... Merry Christmas GitHub! Goodnight!