Integrals of the form sin(ax + b), cos(ax + b) and sec2(ax + b)