Linting, correcting spelling error, cleaning up chebyshev hueristics, using generics in the few places I missed rather than casting.