switched out some slightly faster methods
Merge pull request #38 from kelmerp/performance_tweaks

switched out some slightly faster methods