switched to no namespace version of atan
added NaN tests for atan
added NaN and derivative doc for atan to manual