Bathymetry Measuring Apparatus

  char an0[4], an1[4], an2[4];  // char variables to store analog pin values. Total 6 pins from 0-5

What does that comment have to do with the code? The arrays are too small. The values being stored in the arrays can range from 0 to 1023. With the terminating NULL, that's 5 characters.

I've basically gotta combine the following sketches:

So, basically, what's the problem?

The GPS logger logs data as fast as the GPS spits out a complete sentence. Log the ping data at the same rate.