Added flag check for mag data
Added mag command
Check corrections data status for mag data
Added mode command to run the ACDS in the given mode