How does the discovery of Mendel changed the way we perceive inheritance?