Optimization

Optimizing drawRect and generation calculations. drawRect is pretty
well optimized but I need a faster way to calculate the generations