Principles of GPS