Mutations are random. Mutations can be beneficial, neutral, or harmful for the organism, but mutations do not "try" to supply what the organism "needs." Factors in the environment may influence the rate of mutation but are not generally thought to influence the direction of mutation.
These waves are of a higher frequency than surface waves. The first kind of body wave is the P wave or primary wave. This is the fastest kind of seismic wave, and, consequently, the first to 'arrive' at a seismic station. The P wave can move through solid rock and fluids, like water or the liquid layers of the earth.