SMS: Principles of gas lasers