Optimized item frame calculations, using C arrays instead of NSArray. Rewritten layoutAttributesForElementsInRect so indexPath and itemAttributes are only allocated when the frame is visible (intersects rect)
Removed old framesForItemsInSection method