Two aspects of thin film analysis: boron profile and scattering length density profile