Refactored autoclassifier a bit and tested field lines.