Reworked the phases 1 and 3 of the cryptonight core to use 8 parallel threads per hash to replace the inner loops.