Update api so that Inputs and Outputs can be subclassed for python sims
Add bits_to_double, double_to_bits, etc.