Index: /issm/trunk-jpl/src/m/classes/matice.js
===================================================================
--- /issm/trunk-jpl/src/m/classes/matice.js	(revision 20929)
+++ /issm/trunk-jpl/src/m/classes/matice.js	(revision 20930)
@@ -24,5 +24,5 @@
 
 			//ice latent heat of fusion L (J/kg)
-			this.latentheat=3.34*10^5;
+			this.latentheat=3.34*Math.pow(10,5);
 
 			//ice thermal conductivity (W/m/K)
@@ -36,5 +36,5 @@
 
 			//rate of change of melting point with pressure (K/Pa)
-			this.beta=9.8*10^-8;
+			this.beta=9.8*Math.pow(10,-8);
 
 			//mixed layer (ice-water interface) heat capacity (J/kg/K)
@@ -42,5 +42,5 @@
 
 			//thermal exchange velocity (ice-water interface) (m/s)
-			this.thermal_exchange_velocity=1.00*10^-4;
+			this.thermal_exchange_velocity=1.00*Math.pow(10,-4);
 
 			//Rheology law: what is the temperature dependence of B with T
@@ -131,7 +131,7 @@
 			WriteData(fid,prefix,'data',StringToEnum(this.rheology_law),'name','md.materials.rheology_law','format','Integer');
 			WriteData(fid,prefix,'object',this,'class','materials','fieldname','lithosphere_shear_modulus','format','Double');
-			WriteData(fid,prefix,'object',this,'class','materials','fieldname','lithosphere_density','format','Double','scale',10^3);
+			WriteData(fid,prefix,'object',this,'class','materials','fieldname','lithosphere_density','format','Double','scale',Math.pow(10,3));
 			WriteData(fid,prefix,'object',this,'class','materials','fieldname','mantle_shear_modulus','format','Double');
-			WriteData(fid,prefix,'object',this,'class','materials','fieldname','mantle_density','format','Double','scale',10^3);
+			WriteData(fid,prefix,'object',this,'class','materials','fieldname','mantle_density','format','Double','scale',Math.pow(10,3));
 			WriteData(fid,prefix,'object',this,'class','materials','fieldname','earth_density','format','Double');
 
