Update processing module
Fix detection of nz in processing
Fix log_perf function