changed indexing to add values to last empty index in stage
changed indexing to add values to last empty index in stage

emma-d-cotter/ARTEMIS,bernease/iAMP-Novelty-Detection,emma-d-cotter/iAMP-Novelty-Detection