refind=refind2+(refind3-refind2)*concw/(5.0);
}
}
else{
BiCubicSpline bcs = new BiCubicSpline(tempw, weight, corrfac);
corrfactor = bcs.interpolate(temperature, concw);
concw=concw+corrfactor;
concg=Sucrose.weightpercentToGperl(concw, temperature);
refind=CubicSpline.interpolate(concg, concnG, refInd, deriv);
}
}