Z-scan analysis and ab initio studies of β-BaTeMo2O9 single crystal