added alias atan(x,y) for atan2(x,y) removed some unused code from the stool
fixed a bug with conditionals stopping execution