updated functions to take matrix input

for EDD calculation
EDD data reader

For canberra detector