add head and tail functions for SO3 and Q4, row names won't show up
fix row names in tail.SO3 and tail.Q4