Analyzers Fix

"nlayers +=" is the same as "nlayers = nlayers+"