optimizations
Merge pull request #11 from calvinmetcalf/optimize

iteration and vector math optimizations