Code to read centralized gating is done. Reading of autoamted gating is done. Need to clean up and merge all the data