Comment the matlabpool close code to avoid time consuming while opening
the matlabpool.
Clear useless variables to avoid Out of Memory Error.