added a distance & peak magnitude calculation to be updated in pesstoObjects mysql table