made arctan accurate to +/-7e-4 with lookup table