Principles of Glacier Mechanics