some speedups for computing normalization constants and also a check for matlabpool being open
some speedups for computing normalization constants and also a check for matlabpool being open

visionlab/MemToolbox