Text this: Analytical determination of optimal sidewall angle for Bi2Sr2CaCu2O8+δ stacked IJJ terahertz sources