better angles implementation: deg(deg(90)) correctly returns 90deg, added angle-mode support for parsing rth