class GaseousAbsorptionAlgo {

    float[] getMassAir(float[] sza, float[] oza) {
        Assert.notNull(sza, "The sun zenith angel most not be null.");
        Assert.notNull(oza);
        float[] szaRad = SmileCorrectionUtils.convertDegreesToRadians(sza);
        float[] ozaRad = SmileCorrectionUtils.convertDegreesToRadians(oza);

        float[] massAirs = new float[sza.length];
        for (int i = 0; i < sza.length; i++) {
            massAirs[i] = getMassAir(szaRad[i], ozaRad[i]);
        }
        return massAirs;
    }

}