Complex Analysis: Generalised Fresnel Integrals