Hopefully fix permgen with fewer inner classes

All the inner Functions for performing the conversion
of measurements may have been causing perm gen exceptions
in the clients. Instead, we now store arrays of doubles
and generate the equation at runtime.
Add C/F/K conversions
Strip null conversions

Rather than store conversions which return a null,
let `map.get()` return a null anyway.
Fixed another NPE