precision and deg2rad constants usage fixed