Clean analysis

dart_analysis is clean - mostly bad constructor calls, but I think the changes to the helper methods (min, max, clamp, etc) should also be faster than the originals.