Provide more debugging information.
Correct bug calculating layer transmission.
Deal with attenuation if incoming beam on upper layers.
Complete deBoerX function signature.