-Cleaned up code generation a bit
-Removed spurious semicolons
-Added auto-detect and manual setting for number of CPU cores
-Added support for arrays with length not a multiple of CPU cores