Updated main.cpp to properly handle time. All I did was change everything to work in nanoseconds.

Also, I fixed the NMEA undefined bug. I changed John's code to accept an NMEA string (const char* [])