Most degree tests to appropriate place
Added yml file with all regexes'
Changed to new Function.parse syntax'
Removed degree test methods from Function class
Regex initialization from yaml