CO2 Laser Saturation Intensity calculation in Scala