Computer-aided control of electrolysis of solid Nb2O5 in molten CaCl2.