Removed global variable from test program.

On Android starting the application after a previous quit did not always work.
Android keeps VM processes for a faster restart and therefore the loaded *.so.
Replaced sqrt() with SDL_sqrt() in test program.
Removed unused includes and functions from test program.