Added a utility class to do unit conversions