ASCI file write double should be %lf