The Role of Mechanical Function in the Evolution of Skeletal Morphology