asciitodat reads floating-point numbers in ASCII from asciifile, converts them to binary form, and then writes them to datfile. The binary numbers in datfile are stored as 4 bytes with the most-significant byte stored first. A header is added to datfile so that datfile is a DAT-format file specifying N vectors, each of which have vector_dimension components. Here, N is N = floor(M / vector_dimension) where M is the total number of floating-point values in asciifile.