How were Earth's layer found?