Algorithm AS 117: The Chirp Discrete Fourier Transform of General Length