Also, refactored code to loop through measures. Previously, forgot to clear reading array once posted.