Phase transitions for better computers: Understanding vanadium oxide