Lattice constant prediction of defective rare earth titanate perovskites