Sort the MultiIndex so that vector_index_of actually works, and fix the division in scalar_factor_for_component.
Sort the MultiIndex so that vector_index_of actually works, and fix the division in scalar_factor_for_component.

leapmotion/tensorheaven,leapmotion/tensorheaven,leapmotion/tensorheaven