Misc things to get chaos.py working

reduce(), some float precision issues, string interpolation improvements
Add simple sigint handler and a slightly-modified chaos.py