Added check for array out of bounds (triggered where permutation is zero).


git-svn-id: svn://svn.code.sf.net/p/elmerfem/code/trunk@7019 04224531-1f84-46d8-96ce-875b9e37dce3
Added default value for non linear tolerance in ThicknessSolver


git-svn-id: svn://svn.code.sf.net/p/elmerfem/code/trunk@7020 04224531-1f84-46d8-96ce-875b9e37dce3