Optimizations

-Got lengths outside of loops
-Added readme to include performance data