Cleaned code, improved runtime slightly. is_pseudoprime commented out.
Multicore version of improved code.