It does appear to do math correctly.For real world considerations, FIRECalc seems more useful.
The best calculator on calcxml is the "how much do I need to save", IMO.http://www.calcxml.com/calculators/retirement-calculator?skn=#results
And www.cfiresim.com is a more up to date, more features, better version of FIRECalc. ;)