I have a lengthy function that is messing up:
\begin{align*}
D(a,z) &= \frac{1}{\sqrt{\pi}}2^{\frac{a}{2}}e^{-\frac{z^2}{4}} \left(\cos \left(\frac{\pi a}{2}\right)\Upgamma \left(\frac{a+1}{2}\right) \ {_1F_1}\left(-\frac{a}{2};\frac{1}{2};\frac{z^2}{2}\right) \\
&+ \sqrt{2}z\sin \left(\frac{\pi a}{2}\right)\Upgamma\left(\frac{a}{2}+1\right) \ {_1F_1}\left(\frac{1}{2}-\frac{a}{2};\frac{3}{2};\frac{z^2}{2}\right) \right)
\end{align*}
The last bracket \right) is not showing up. I think this is because I broke the lines in the middle at &+. Rather than splitting up the function into another set with the term right next to D(a,z)=, would it be possible to get this bracket working? I'm sure it would, I just don't know how.
Thanks!

