Data source: http://rosettacode.org/wiki/Write_float_arrays_to_a_text_file
