As I recall, atan2 is not available for the Manx 3.6. I ended up taking the code from our libraries on unix and compiling them to have access to atan2, j0, j1, y0, and y1. I had some help in finding these functions on our system, but they worked just fine. Bill Murphy murphy at newton.physics.purdue.edu