Introduce angle class for convenient angle conversion.