Cleanup Beer-Lambert law formula