Calculate the future value (FV) of an investment or savings account with optional recurring contributions.