use paul's new fast sparse reshape in operator_to_vector and vector_to_operator