Halved the time it takes to calculate primes