Calculating absorbed optical power - Higher accuracy method with multiple materials