Separated tokenizeCommandLine() in a file.
Fixed result errors near the edges. Both CPU and GPU now give equal results.