diff --git a/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib b/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib
index 25aae63fa7e199da7d8ff5be427052dd34605ea2..0bf4c77baaad01a564794ac6900a669df6d23bd7 100644
Binary files a/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib and b/SBPOP PACKAGE/SBPD/tools/mexmodelhandling/auxiliary/CVODEMEX/lib/CVODEmex25.lib differ
diff --git a/nanSEM.m b/nanSEM.m
index a8b8ea19093c5d92bad4be4a7faa79fd7287d1d9..86f44e33fd534870aa9c9857775f65f244f74ea1 100644
--- a/nanSEM.m
+++ b/nanSEM.m
@@ -1,19 +1,17 @@
-function [ SEM ] = nanSEM(x, dim,e)
-%NANSEM Returns the answer  to SEM = std(x)/sqrt(n-e), given a matrix x, either as a single
-%value or column/row specified by 'dim'. If n-e<=0, returns 0. 
+function [ SEM ] = nanSEM(x, dim)
+%NANSEM Returns the answer  to SEM = std(x)/sqrt(n), given a matrix x, either as a single
+%value or column/row specified by 'dim'. 
 if nargin<2
     dim=0;
 end
-if nargin<3
-    e=0;
-end
+
 
 if dim>0
     SEM=nanstd(x,[],dim);
-    n=sum(~isnan(x),dim)-e;
+    n=sum(~isnan(x),dim);
 else
     SEM=nanstd(reshape(x,1,numel(x)));
-    n=sum(sum(~isnan(x)))-e;
+    n=sum(sum(~isnan(x)));
 end
 
 n(n<=0)=nan;