Created and filled an array of the weighings

Make the array ordered from the oldest to the latest.
All other parameters of the response such as moduleID, depth, species
etc are also stored in corresponding variables.