Strain sensitivity and superconducting properties of Nb3Sn from first principles calculations