add functions to write double type array to a file
Merge remote-tracking branch 'origin/master'

Conflicts:
	io.c
	io.h