SD file creation change, switches to change units

Changed file interfacing to prevent duplicate headers in log file. Added
three switches in total, two to change units for temperature and
altitude, and one to change collection interval from 1 to 30 min.