little error

if ((N <= 1e15) && (trueMat == 1) )
+if ((N <= 2^15) && (trueMat == 1) )