mavtomfile: avoid loss of precision in data fields.

With using a simple %f when writing fields to the .m file, some fields were not getting enough precision.  Changed %f to %.20g to compensate.