Tighter definition of number excludes octal-like strings with leading 0 and no point.
Added trig functions for degrees.
Fixed bug with number pattern