Performance improves

here is the link with the time improvements and the changes that I made

https://docs.google.com/spreadsheet/ccc?key=0AjO8OM5mpCSBdFJpS2lxS0I2RXJHb3lhZjNRcEIzYmc&usp=drive_web#gid=0