An advanced retirement calculator