Finished changing coords to indices and intensity to data_value