Fix beer-lambert law.