Changed the code to work on 8-bit AVR

The elevation & azimuth are accurate enough for most purposes. Tested it for a few cases and it seems to be accurate up to 0.01°. Up for more testing but it sure works for me...